package org.zfes.snowier.cloud.zbss.loan.base.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class BaseDatadictionary extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public BaseDatadictionary() {}
	public BaseDatadictionary(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 
	//@javax.validation.constraints.NotBlank(message="数据项名称不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=100,message="数据项名称长度不能大于100")
	  private java.lang.String dataitemname;
 
	//@javax.validation.constraints.NotBlank(message="数据项编码不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=50,message="数据项编码长度不能大于50")
	  private java.lang.String dataitemnum;
 
	//@javax.validation.constraints.NotBlank(message="备注不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=200,message="备注长度不能大于200")
	  private java.lang.String remark;
 

	  private java.lang.Long fatheritemid;
 
	//@javax.validation.constraints.NotBlank(message="不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="长度不能大于255")
	  private java.lang.String dataitemnumalias;
 
	//@javax.validation.constraints.NotBlank(message="是否可用不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=1,message="是否可用长度不能大于1")
	  private java.lang.String enabled;
 
	
	//<-------------------------------------------->
	public BaseDatadictionary setDataitemname(java.lang.String dataitemname){
		this.dataitemname=dataitemname==null?null:dataitemname.trim();
	 return this;
	}
	public java.lang.String getDataitemname(){
		return this.dataitemname;
	}
	public BaseDatadictionary setDataitemnum(java.lang.String dataitemnum){
		this.dataitemnum=dataitemnum==null?null:dataitemnum.trim();
	 return this;
	}
	public java.lang.String getDataitemnum(){
		return this.dataitemnum;
	}
	public BaseDatadictionary setRemark(java.lang.String remark){
		this.remark=remark==null?null:remark.trim();
	 return this;
	}
	public java.lang.String getRemark(){
		return this.remark;
	}
	public BaseDatadictionary setFatheritemid(java.lang.Long fatheritemid){
	 this.fatheritemid=fatheritemid;
	 return this;
	}
	public java.lang.Long getFatheritemid(){
		return this.fatheritemid;
	}
	public BaseDatadictionary setDataitemnumalias(java.lang.String dataitemnumalias){
		this.dataitemnumalias=dataitemnumalias==null?null:dataitemnumalias.trim();
	 return this;
	}
	public java.lang.String getDataitemnumalias(){
		return this.dataitemnumalias;
	}
	public BaseDatadictionary setEnabled(java.lang.String enabled){
		this.enabled=enabled==null?null:enabled.trim();
	 return this;
	}
	public java.lang.String getEnabled(){
		return this.enabled;
	}

}
